//
//  GoodsCell.h
//  shoppingMall
//
//  Created by Bear on 2016/10/27.
//  Copyright © 2016年 dragontrail. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    CellEditStyle = 25,
    CellNoEditSyle,
} CellCustomStyle;


@class GoodsModel;
@interface GoodsCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIStackView *editNumView;
@property (weak, nonatomic) IBOutlet UIButton *choseClassify;
@property (weak, nonatomic) IBOutlet UIButton *deleteBtn;


@property(nonatomic, retain)GoodsModel* model;
@property (weak, nonatomic) IBOutlet UIButton *selectBtn;
@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet UILabel *goodsNameLable;

@property (weak, nonatomic) IBOutlet UILabel *goodsInfoLable;
@property (weak, nonatomic) IBOutlet UILabel *priceNowLable;
@property (weak, nonatomic) IBOutlet UILabel *priceOldLable;
@property (weak, nonatomic) IBOutlet UILabel *numLable;

-(void)setCellwithModel:(GoodsModel*)model;

-(void)ChangeSytleWithStyle:(CellCustomStyle)style;

@end
